load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

DEPENDENCIES = [
    # Keep sorted.
    "//rs/crypto/test_utils/ni-dkg",
    "//rs/interfaces",
    "//rs/interfaces/registry",
    "//rs/limits",
    "//rs/protobuf",
    "//rs/registry/fake",
    "//rs/registry/keys",
    "//rs/registry/local_store",
    "//rs/registry/local_store/artifacts",
    "//rs/registry/proto_data_provider",
    "//rs/registry/subnet_features",
    "//rs/registry/subnet_type",
    "//rs/types/management_canister_types",
    "//rs/types/types",
    "@crate_index//:tempfile",
]

rust_library(
    name = "registry",
    testonly = True,
    srcs = glob(["src/**"]),
    crate_name = "ic_test_utilities_registry",
    version = "0.9.0",
    deps = DEPENDENCIES,
)
